using System;
using System.Collections.Generic;
using System.Text;
using Iesi.Collections;

namespace DailyReport.Core.Data.Model
{
    public class Team : ModelObject<int>
    {
        string name;
        User manager;
        Team parentTeam;
        ISet childTeams;

        public ISet ChildTeams
        {
            get { return childTeams; }
            set { childTeams = value; }
        }

        public User Manager
        {
            get { return manager; }
            set { manager = value; }
        }

        public Team ParentTeam
        {
            get { return parentTeam; }
            set { parentTeam = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        
    }
}
